#ifndef RESTARTZIGBEECMD_H
#define RESTARTZIGBEECMD_H

#include "Command/BaseCmd.h"
#include "Protocol/ZigbeeConfigProtocol.h"

class RestartZigbeeCmd : public BaseCmd
{
    Q_OBJECT
public:
    Q_INVOKABLE explicit RestartZigbeeCmd(QObject *parent = 0);

    enum{FunctionCode = ZigbeeConfigProtocol::ReStartZigbee};

    Package toPackage();
    void unPackage(Package package);

    bool isSucceed() const;
    void setIsSucceed(bool isSucceed);

private:
    bool m_isSucceed;
};

#endif // RESTARTZIGBEECMD_H
